<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=\, initial-scale=1.0">
    <title>Document</title>
     <!-- <script src="js.js"></script> -->
</head>
<body>
    <input type="button" value="点击" onclick="alert('哈哈')">
    <script src="js.js"></script>
</body>
</html>